using System.ComponentModel.DataAnnotations;

namespace HengTong.Model.Db.SupplyChain.Purchase;

/// <summary>
/// 立项类型枚举
/// </summary>
/// <remarks>
/// 定义采购立项的类型
/// </remarks>
public enum ProjectType
{
    /// <summary>
    /// 常规立项：常规采购立项
    /// </summary>
    [Display(Name = "常规立项")]
    常规立项 = 10,

    /// <summary>
    /// 紧急立项：紧急采购立项
    /// </summary>
    [Display(Name = "紧急立项")]
    紧急立项 = 20
}

/// <summary>
/// 立项状态枚举
/// </summary>
/// <remarks>
/// 定义采购立项的各种状态
/// </remarks>
public enum ProjectState
{
    /// <summary>
    /// 草稿：立项草稿状态
    /// </summary>
    [Display(Name = "草稿")]
    草稿 = 10,

    /// <summary>
    /// 审批中：立项审批中
    /// </summary>
    [Display(Name = "审批中")]
    审批中 = 20,

    /// <summary>
    /// 已立项：立项审批通过
    /// </summary>
    [Display(Name = "已立项")]
    已立项 = 30,

    /// <summary>
    /// 已驳回：立项审批驳回
    /// </summary>
    [Display(Name = "已驳回")]
    已驳回 = 40,

    /// <summary>
    /// 已取消：立项已取消
    /// </summary>
    [Display(Name = "已取消")]
    已取消 = 50,

    /// <summary>
    /// 执行中：立项执行中
    /// </summary>
    [Display(Name = "执行中")]
    执行中 = 60,

    /// <summary>
    /// 已完成：立项已完成
    /// </summary>
    [Display(Name = "已完成")]
    已完成 = 70
}

